package com.peas.platform.module.icims.budget.adjust.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.BudgetNewFileRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.po.BudgetNewFilePo;
import com.peas.platform.module.icims.budget.adjust.domain.BudgetNewFileDomain;
import com.peas.platform.module.icims.budget.adjust.dto.BudgetNewFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetNewFileDomainImpl extends BaseDomainImpl<BudgetNewFileDto, BudgetNewFilePo> implements BudgetNewFileDomain {

    @Resource
    private BudgetNewFileRepository budgetNewFileRepository;

    @Override
    public BaseRepository<BudgetNewFilePo> getMapper() {
        return budgetNewFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetNewFilePo>> getRepositoryClass() {
        return BudgetNewFileRepository.class;
    }

}
